package com.fcscs.cservice.ws.client.guestprofileservice;

import org.apache.log4j.Logger;
import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

import com.fcscs.cservice.ws.schema.guestprofileservice.FindGuestProfileRequest;
import com.fcscs.cservice.ws.schema.guestprofileservice.FindGuestProfileResponse;

public class FindGuestProfileClient extends WebServiceGatewaySupport {

	private static final Logger LOG = Logger.getLogger(FindGuestProfileClient.class);

	public FindGuestProfileResponse findGP(FindGuestProfileRequest req) {
		FindGuestProfileResponse resp = (FindGuestProfileResponse) getWebServiceTemplate().marshalSendAndReceive(req);
		LOG.info("----------resv " + resp.getTotalCnt());
		return resp;
	}

}
